package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Setting;

import java.util.List;

@DBMapper
public interface SettingMapper {
    int deleteByPrimaryKey(String name);

    int insert(Setting record);

    int insertSelective(Setting record);

    Setting selectByPrimaryKey(String name);

    int updateByPrimaryKeySelective(Setting record);

    int updateByPrimaryKeyWithBLOBs(Setting record);

    List<Setting> findAllSetting();
}